<template>
	<view @click="clickToSearch">
		<view class="content">
			<view class="icon">
				<image class="image" src="/static/images/icon_search.png" mode=""></image>
			</view>
			<view class="text">输入剧名搜索</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		methods: {
			clickToSearch() {
				uni.navigateTo({
					url:'/pages/search/search'
				})
			}
		}
	}
</script>

<style lang="scss">
	.content{
		display: flex;
		box-sizing: border-box;
		align-items: center;
		height: 70rpx;
		margin: 15px;
		border-radius: 35rpx;
		background-color: #ffffff;
		
		.icon{
			flex-shrink: 0;
			width: 44rpx;
			height: 44rpx;
			margin-left: 20px;
			.image{
				width: 45rpx;
				height: 45rpx;
		    }
	    }
		
		.text{
			font-size: 16px;
			color: #B0AFAE;
			margin-left: 10px;
		}
	}
</style>